package com.deep.deepenterpise.common.gas;

import com.deep.deepenterpise.common.redis.GasKey;

/**
 * @author xyz
 * @version 1.0
 * @title DrGpsAuthKey
 * @description
 * @create 2024/4/19 19:11
 */
public interface DrGasAuthKey {
    /**
     * @Auth xyz
     * @Desc //TODO 添加key
     * @Time 04:32 2024/5/14
     * @Param [key, value]
     */
    void addKeyWithDelay(GasKey key, String value);

    /**
     * @Auth xyz
     * @Desc //TODO 删除key
     * @Time 04:32 2024/5/14
     * @Param [key]
     */
    void removeKey(GasKey key);

    /**
     * @return java.lang.String
     * @Auth xyz
     * @Desc //TODO 获取key
     * @Time 04:32 2024/5/14
     * @Param [key]
     */
    String getKey(GasKey key);
}
